home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / window.elc.z / window.elc
Emacs Compiled Lisp  |  1998-10-28  |  7.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 64 65 6c |piled by| rms@del|
|00000020| 61 73 79 64 2e 67 6e 75 | 2e 61 69 2e 6d 69 74 2e |asyd.gnu|.ai.mit.|
|00000030| 65 64 75 20 6f 6e 20 57 | 65 64 20 4d 61 79 20 20 |edu on W|ed May |
|00000040| 31 20 31 33 3a 34 37 3a | 31 39 20 31 39 39 36 0a |1 13:47:|19 1996.|
|00000050| 3b 3b 3b 20 66 72 6f 6d | 20 66 69 6c 65 20 2f 68 |;;; from| file /h|
|00000060| 6f 6d 65 2f 66 73 66 2f | 72 6d 73 2f 65 31 39 2f |ome/fsf/|rms/e19/|
|00000070| 6c 69 73 70 2f 77 69 6e | 64 6f 77 2e 65 6c 0a 3b |lisp/win|dow.el.;|
|00000080| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|00000090| 20 31 39 2e 33 30 2e 39 | 39 2e 34 2e 0a 3b 3b 3b | 19.30.9|9.4..;;;|
|000000a0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000b0| 6e 20 46 53 46 20 32 2e | 31 30 0a 3b 3b 3b 20 6f |n FSF 2.|10.;;; o|
|000000c0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000d0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000e0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|000000f0| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000100| 20 69 6e 20 45 6d 61 63 | 73 20 31 38 2e 0a 0a 28 | in Emac|s 18...(|
|00000110| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000120| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000130| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000140| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000150| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000160| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000170| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000180| 72 73 69 6f 6e 20 22 31 | 39 2e 32 39 22 29 29 29 |rsion "1|9.29")))|
|00000190| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 77 69 |. (er|ror "`wi|
|000001a0| 6e 64 6f 77 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |ndow.el'| was com|
|000001b0| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|000001c0| 31 39 2e 32 39 20 6f 72 | 20 6c 61 74 65 72 22 29 |19.29 or| later")|
|000001d0| 29 0a 0a 0a 23 40 34 37 | 33 20 52 65 74 75 72 6e |)...#@47|3 Return|
|000001e0| 73 20 6e 6f 6e 2d 6e 69 | 6c 20 69 66 20 74 68 65 |s non-ni|l if the|
|000001f0| 20 73 65 6c 65 63 74 65 | 64 20 77 69 6e 64 6f 77 | selecte|d window|
|00000200| 20 69 73 20 74 68 65 20 | 6f 6e 6c 79 20 77 69 6e | is the |only win|
|00000210| 64 6f 77 20 28 69 6e 20 | 69 74 73 20 66 72 61 6d |dow (in |its fram|
|00000220| 65 29 2e 0a 4f 70 74 69 | 6f 6e 61 6c 20 61 72 67 |e)..Opti|onal arg|
|00000230| 20 4e 4f 4d 49 4e 49 20 | 6e 6f 6e 2d 6e 69 6c 20 | NOMINI |non-nil |
|00000240| 6d 65 61 6e 73 20 64 6f | 6e 27 74 20 63 6f 75 6e |means do|n't coun|
|00000250| 74 20 74 68 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |t the mi|nibuffer|
|00000260| 0a 65 76 65 6e 20 69 66 | 20 69 74 20 69 73 20 61 |.even if| it is a|
|00000270| 63 74 69 76 65 2e 0a 0a | 54 68 65 20 6f 70 74 69 |ctive...|The opti|
|00000280| 6f 6e 61 6c 20 61 72 67 | 20 41 4c 4c 2d 46 52 41 |onal arg| ALL-FRA|
|00000290| 4d 45 53 20 74 20 6d 65 | 61 6e 73 20 63 6f 75 6e |MES t me|ans coun|
|000002a0| 74 20 77 69 6e 64 6f 77 | 73 20 6f 6e 20 61 6c 6c |t window|s on all|
|000002b0| 20 66 72 61 6d 65 73 2e | 0a 49 66 20 69 74 20 69 | frames.|.If it i|
|000002c0| 73 20 60 76 69 73 69 62 | 6c 65 27 2c 20 63 6f 75 |s `visib|le', cou|
|000002d0| 6e 74 20 77 69 6e 64 6f | 77 73 20 6f 6e 20 61 6c |nt windo|ws on al|
|000002e0| 6c 20 76 69 73 69 62 6c | 65 20 66 72 61 6d 65 73 |l visibl|e frames|
|000002f0| 2e 0a 41 4c 4c 2d 46 52 | 41 4d 45 53 20 6e 69 6c |..ALL-FR|AMES nil|
|00000300| 20 6f 72 20 6f 6d 69 74 | 74 65 64 20 6d 65 61 6e | or omit|ted mean|
|00000310| 73 20 63 6f 75 6e 74 20 | 6f 6e 6c 79 20 74 68 65 |s count |only the|
|00000320| 20 73 65 6c 65 63 74 65 | 64 20 66 72 61 6d 65 2c | selecte|d frame,|
|00000330| 20 0a 70 6c 75 73 20 74 | 68 65 20 6d 69 6e 69 62 | .plus t|he minib|
|00000340| 75 66 66 65 72 20 69 74 | 20 75 73 65 73 20 28 77 |uffer it| uses (w|
|00000350| 68 69 63 68 20 6d 61 79 | 20 62 65 20 6f 6e 20 61 |hich may| be on a|
|00000360| 6e 6f 74 68 65 72 20 66 | 72 61 6d 65 29 2e 0a 49 |nother f|rame)..I|
|00000370| 66 20 41 4c 4c 2d 46 52 | 41 4d 45 53 20 69 73 20 |f ALL-FR|AMES is |
|00000380| 6e 65 69 74 68 65 72 20 | 6e 69 6c 20 6e 6f 72 20 |neither |nil nor |
|00000390| 74 2c 20 63 6f 75 6e 74 | 20 6f 6e 6c 79 20 74 68 |t, count| only th|
|000003a0| 65 20 73 65 6c 65 63 74 | 65 64 20 66 72 61 6d 65 |e select|ed frame|
|000003b0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6f 6e |...(defa|lias 'on|
|000003c0| 65 2d 77 69 6e 64 6f 77 | 2d 70 20 23 5b 28 26 6f |e-window|-p #[(&o|
|000003d0| 70 74 69 6f 6e 61 6c 20 | 6e 6f 6d 69 6e 69 20 61 |ptional |nomini a|
|000003e0| 6c 6c 2d 66 72 61 6d 65 | 73 29 20 22 c0 20 19 5c |ll-frame|s) ". .\|
|000003f0| 6e 83 12 00 09 c3 20 3d | 83 12 00 c4 09 21 11 09 |n..... =|.....!..|
|00000400| c4 09 5c 6e 85 1a 00 c5 | 0e 06 23 29 3d 87 22 20 |..\n....|..#)=." |
|00000410| 5b 73 65 6c 65 63 74 65 | 64 2d 77 69 6e 64 6f 77 |[selecte|d-window|
|00000420| 20 62 61 73 65 2d 77 69 | 6e 64 6f 77 20 6e 6f 6d | base-wi|ndow nom|
|00000430| 69 6e 69 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 77 |ini mini|buffer-w|
|00000440| 69 6e 64 6f 77 20 6e 65 | 78 74 2d 77 69 6e 64 6f |indow ne|xt-windo|
|00000450| 77 20 61 72 67 20 61 6c | 6c 2d 66 72 61 6d 65 73 |w arg al|l-frames|
|00000460| 5d 20 35 20 28 23 24 20 | 2e 20 34 37 34 29 5d 29 |] 5 (#$ |. 474)])|
|00000470| 0a 23 40 31 31 30 38 20 | 43 79 63 6c 65 20 74 68 |.#@1108 |Cycle th|
|00000480| 72 6f 75 67 68 20 61 6c | 6c 20 76 69 73 69 62 6c |rough al|l visibl|
|00000490| 65 20 77 69 6e 64 6f 77 | 73 2c 20 63 61 6c 6c 69 |e window|s, calli|
|000004a0| 6e 67 20 50 52 4f 43 20 | 66 6f 72 20 65 61 63 68 |ng PROC |for each|
|000004b0| 20 6f 6e 65 2e 0a 50 52 | 4f 43 20 69 73 20 63 61 | one..PR|OC is ca|
|000004c0| 6c 6c 65 64 20 77 69 74 | 68 20 61 20 77 69 6e 64 |lled wit|h a wind|
|000004d0| 6f 77 20 61 73 20 61 72 | 67 75 6d 65 6e 74 2e 0a |ow as ar|gument..|
|000004e0| 0a 4f 70 74 69 6f 6e 61 | 6c 20 73 65 63 6f 6e 64 |.Optiona|l second|
|000004f0| 20 61 72 67 20 4d 49 4e | 49 42 55 46 20 74 20 6d | arg MIN|IBUF t m|
|00000500| 65 61 6e 73 20 63 6f 75 | 6e 74 20 74 68 65 20 6d |eans cou|nt the m|
|00000510| 69 6e 69 62 75 66 66 65 | 72 20 77 69 6e 64 6f 77 |inibuffe|r window|
|00000520| 20 65 76 65 6e 0a 69 66 | 20 6e 6f 74 20 61 63 74 | even.if| not act|
|00000530| 69 76 65 2e 20 20 4d 49 | 4e 49 42 55 46 20 6e 69 |ive. MI|NIBUF ni|
|00000540| 6c 20 6f 72 20 6f 6d 69 | 74 74 65 64 20 6d 65 61 |l or omi|tted mea|
|00000550| 6e 73 20 63 6f 75 6e 74 | 20 74 68 65 20 6d 69 6e |ns count| the min|
|00000560| 69 62 75 66 66 65 72 20 | 69 66 66 0a 69 74 20 69 |ibuffer |iff.it i|
|00000570| 73 20 61 63 74 69 76 65 | 2e 20 20 4d 49 4e 49 42 |s active|. MINIB|
|00000580| 55 46 20 6e 65 69 74 68 | 65 72 20 74 20 6e 6f 72 |UF neith|er t nor|
|00000590| 20 6e 69 6c 20 6d 65 61 | 6e 73 20 6e 6f 74 20 74 | nil mea|ns not t|
|000005a0| 6f 20 63 6f 75 6e 74 20 | 74 68 65 0a 6d 69 6e 69 |o count |the.mini|
|000005b0| 62 75 66 66 65 72 20 65 | 76 65 6e 20 69 66 20 69 |buffer e|ven if i|
|000005c0| 74 20 69 73 20 61 63 74 | 69 76 65 2e 0a 0a 53 65 |t is act|ive...Se|
|000005d0| 76 65 72 61 6c 20 66 72 | 61 6d 65 73 20 6d 61 79 |veral fr|ames may|
|000005e0| 20 73 68 61 72 65 20 61 | 20 73 69 6e 67 6c 65 20 | share a| single |
|000005f0| 6d 69 6e 69 62 75 66 66 | 65 72 3b 20 69 66 20 74 |minibuff|er; if t|
|00000600| 68 65 20 6d 69 6e 69 62 | 75 66 66 65 72 0a 63 6f |he minib|uffer.co|
|00000610| 75 6e 74 73 2c 20 61 6c | 6c 20 77 69 6e 64 6f 77 |unts, al|l window|
|00000620| 73 20 6f 6e 20 61 6c 6c | 20 66 72 61 6d 65 73 20 |s on all| frames |
|00000630| 74 68 61 74 20 73 68 61 | 72 65 20 74 68 61 74 20 |that sha|re that |
|00000640| 6d 69 6e 69 62 75 66 66 | 65 72 20 63 6f 75 6e 74 |minibuff|er count|
|00000650| 0a 74 6f 6f 2e 20 20 54 | 68 65 72 65 66 6f 72 65 |.too. T|herefore|
|00000660| 2c 20 69 66 20 79 6f 75 | 20 61 72 65 20 75 73 69 |, if you| are usi|
|00000670| 6e 67 20 61 20 73 65 70 | 61 72 61 74 65 20 6d 69 |ng a sep|arate mi|
|00000680| 6e 69 62 75 66 66 65 72 | 20 66 72 61 6d 65 0a 61 |nibuffer| frame.a|
|00000690| 6e 64 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |nd the m|inibuffe|
|000006a0| 72 20 69 73 20 61 63 74 | 69 76 65 20 61 6e 64 20 |r is act|ive and |
|000006b0| 4d 49 4e 49 42 55 46 20 | 73 61 79 73 20 69 74 20 |MINIBUF |says it |
|000006c0| 63 6f 75 6e 74 73 2c 0a | 60 77 61 6c 6b 2d 77 69 |counts,.|`walk-wi|
|000006d0| 6e 64 6f 77 73 27 20 69 | 6e 63 6c 75 64 65 73 20 |ndows' i|ncludes |
|000006e0| 74 68 65 20 77 69 6e 64 | 6f 77 73 20 69 6e 20 74 |the wind|ows in t|
|000006f0| 68 65 20 66 72 61 6d 65 | 20 66 72 6f 6d 20 77 68 |he frame| from wh|
|00000700| 69 63 68 20 79 6f 75 0a | 65 6e 74 65 72 65 64 20 |ich you.|entered |
|00000710| 74 68 65 20 6d 69 6e 69 | 62 75 66 66 65 72 2c 20 |the mini|buffer, |
|00000720| 61 73 20 77 65 6c 6c 20 | 61 73 20 74 68 65 20 6d |as well |as the m|
|00000730| 69 6e 69 62 75 66 66 65 | 72 20 77 69 6e 64 6f 77 |inibuffe|r window|
|00000740| 2e 0a 0a 41 4c 4c 2d 46 | 52 41 4d 45 53 20 69 73 |...ALL-F|RAMES is|
|00000750| 20 74 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 74 68 | the opt|ional th|
|00000760| 69 72 64 20 61 72 67 75 | 6d 65 6e 74 2e 0a 41 4c |ird argu|ment..AL|
|00000770| 4c 2d 46 52 41 4d 45 53 | 20 6e 69 6c 20 6f 72 20 |L-FRAMES| nil or |
|00000780| 6f 6d 69 74 74 65 64 20 | 6d 65 61 6e 73 20 63 79 |omitted |means cy|
|00000790| 63 6c 65 20 77 69 74 68 | 69 6e 20 74 68 65 20 66 |cle with|in the f|
|000007a0| 72 61 6d 65 73 20 61 73 | 20 73 70 65 63 69 66 69 |rames as| specifi|
|000007b0| 65 64 20 61 62 6f 76 65 | 2e 0a 41 4c 4c 2d 46 52 |ed above|..ALL-FR|
|000007c0| 41 4d 45 53 20 3d 20 60 | 76 69 73 69 62 6c 65 27 |AMES = `|visible'|
|000007d0| 20 6d 65 61 6e 73 20 69 | 6e 63 6c 75 64 65 20 77 | means i|nclude w|
|000007e0| 69 6e 64 6f 77 73 20 6f | 6e 20 61 6c 6c 20 76 69 |indows o|n all vi|
|000007f0| 73 69 62 6c 65 20 66 72 | 61 6d 65 73 2e 0a 41 4c |sible fr|ames..AL|
|00000800| 4c 2d 46 52 41 4d 45 53 | 20 3d 20 30 20 6d 65 61 |L-FRAMES| = 0 mea|
|00000810| 6e 73 20 69 6e 63 6c 75 | 64 65 20 77 69 6e 64 6f |ns inclu|de windo|
|00000820| 77 73 20 6f 6e 20 61 6c | 6c 20 76 69 73 69 62 6c |ws on al|l visibl|
|00000830| 65 20 61 6e 64 20 69 63 | 6f 6e 69 66 69 65 64 20 |e and ic|onified |
|00000840| 66 72 61 6d 65 73 2e 0a | 41 4c 4c 2d 46 52 41 4d |frames..|ALL-FRAM|
|00000850| 45 53 20 3d 20 74 20 6d | 65 61 6e 73 20 69 6e 63 |ES = t m|eans inc|
|00000860| 6c 75 64 65 20 77 69 6e | 64 6f 77 73 20 6f 6e 20 |lude win|dows on |
|00000870| 61 6c 6c 20 66 72 61 6d | 65 73 20 69 6e 63 6c 75 |all fram|es inclu|
|00000880| 64 69 6e 67 20 69 6e 76 | 69 73 69 62 6c 65 20 66 |ding inv|isible f|
|00000890| 72 61 6d 65 73 2e 0a 41 | 6e 79 74 68 69 6e 67 20 |rames..A|nything |
|000008a0| 65 6c 73 65 20 6d 65 61 | 6e 73 20 72 65 73 74 72 |else mea|ns restr|
|000008b0| 69 63 74 20 74 6f 20 74 | 68 65 20 73 65 6c 65 63 |ict to t|he selec|
|000008c0| 74 65 64 20 66 72 61 6d | 65 2e 1f 0a 28 64 65 66 |ted fram|e...(def|
|000008d0| 61 6c 69 61 73 20 27 77 | 61 6c 6b 2d 77 69 6e 64 |alias 'w|alk-wind|
|000008e0| 6f 77 73 20 23 5b 28 70 | 72 6f 63 20 26 6f 70 74 |ows #[(p|roc &opt|
|000008f0| 69 6f 6e 61 6c 20 6d 69 | 6e 69 62 75 66 20 61 6c |ional mi|nibuf al|
|00000900| 6c 2d 66 72 61 6d 65 73 | 29 20 22 c0 c1 20 21 83 |l-frames|) ".. !.|
|00000910| 09 00 c2 13 c1 20 89 1c | 1d c6 0d 0b 0e 07 23 15 |..... ..|......#.|
|00000920| 0e 08 0d 21 88 0d 5c 66 | 3d 3f 85 24 00 82 0e 00 |...!..\f|=?.$....|
|00000930| 2a 87 22 20 5b 77 69 6e | 64 6f 77 2d 6d 69 6e 69 |*." [win|dow-mini|
|00000940| 62 75 66 66 65 72 2d 70 | 20 73 65 6c 65 63 74 65 |buffer-p| selecte|
|00000950| 64 2d 77 69 6e 64 6f 77 | 20 74 20 6d 69 6e 69 62 |d-window| t minib|
|00000960| 75 66 20 77 61 6c 6b 2d | 77 69 6e 64 6f 77 73 2d |uf walk-|windows-|
|00000970| 73 74 61 72 74 20 77 61 | 6c 6b 2d 77 69 6e 64 6f |start wa|lk-windo|
|00000980| 77 73 2d 63 75 72 72 65 | 6e 74 20 6e 65 78 74 2d |ws-curre|nt next-|
|00000990| 77 69 6e 64 6f 77 20 61 | 6c 6c 2d 66 72 61 6d 65 |window a|ll-frame|
|000009a0| 73 20 70 72 6f 63 5d 20 | 35 20 28 23 24 20 2e 20 |s proc] |5 (#$ . |
|000009b0| 31 31 34 34 29 5d 29 0a | 23 40 35 37 20 52 65 74 |1144)]).|#@57 Ret|
|000009c0| 75 72 6e 20 74 20 69 66 | 20 57 49 4e 44 4f 57 20 |urn t if| WINDOW |
|000009d0| 28 61 20 6d 69 6e 69 62 | 75 66 66 65 72 20 77 69 |(a minib|uffer wi|
|000009e0| 6e 64 6f 77 29 20 69 73 | 20 6e 6f 77 20 61 63 74 |ndow) is| now act|
|000009f0| 69 76 65 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ive...(d|efalias |
|00000a00| 27 6d 69 6e 69 62 75 66 | 66 65 72 2d 77 69 6e 64 |'minibuf|fer-wind|
|00000a10| 6f 77 2d 61 63 74 69 76 | 65 2d 70 20 23 5b 28 77 |ow-activ|e-p #[(w|
|00000a20| 69 6e 64 6f 77 29 20 22 | 08 c1 20 3d 87 22 20 5b |indow) "|.. =." [|
|00000a30| 77 69 6e 64 6f 77 20 61 | 63 74 69 76 65 2d 6d 69 |window a|ctive-mi|
|00000a40| 6e 69 62 75 66 66 65 72 | 2d 77 69 6e 64 6f 77 5d |nibuffer|-window]|
|00000a50| 20 32 20 28 23 24 20 2e | 20 32 34 39 33 29 5d 29 | 2 (#$ .| 2493)])|
|00000a60| 0a 23 40 36 39 20 45 78 | 65 63 75 74 65 20 42 4f |.#@69 Ex|ecute BO|
|00000a70| 44 59 2c 20 74 68 65 6e | 20 73 65 6c 65 63 74 20 |DY, then| select |
|00000a80| 74 68 65 20 77 69 6e 64 | 6f 77 20 74 68 61 74 20 |the wind|ow that |
|00000a90| 77 61 73 20 73 65 6c 65 | 63 74 65 64 20 62 65 66 |was sele|cted bef|
|00000aa0| 6f 72 65 20 42 4f 44 59 | 2e 1f 0a 28 64 65 66 61 |ore BODY|...(defa|
|00000ab0| 6c 69 61 73 20 27 73 61 | 76 65 2d 73 65 6c 65 63 |lias 'sa|ve-selec|
|00000ac0| 74 65 64 2d 77 69 6e 64 | 6f 77 20 27 28 6d 61 63 |ted-wind|ow '(mac|
|00000ad0| 72 6f 20 2e 20 23 5b 28 | 26 72 65 73 74 20 62 6f |ro . #[(|&rest bo|
|00000ae0| 64 79 29 20 22 c0 c1 c2 | c3 5c 66 42 c5 c6 44 45 |dy) "...|.\fB..DE|
|00000af0| 45 87 22 20 5b 6c 65 74 | 20 28 28 73 61 76 65 2d |E." [let| ((save-|
|00000b00| 73 65 6c 65 63 74 65 64 | 2d 77 69 6e 64 6f 77 2d |selected|-window-|
|00000b10| 77 69 6e 64 6f 77 20 28 | 73 65 6c 65 63 74 65 64 |window (|selected|
|00000b20| 2d 77 69 6e 64 6f 77 29 | 29 29 20 75 6e 77 69 6e |-window)|)) unwin|
|00000b30| 64 2d 70 72 6f 74 65 63 | 74 20 70 72 6f 67 6e 20 |d-protec|t progn |
|00000b40| 62 6f 64 79 20 73 65 6c | 65 63 74 2d 77 69 6e 64 |body sel|ect-wind|
|00000b50| 6f 77 20 73 61 76 65 2d | 73 65 6c 65 63 74 65 64 |ow save-|selected|
|00000b60| 2d 77 69 6e 64 6f 77 2d | 77 69 6e 64 6f 77 5d 20 |-window-|window] |
|00000b70| 36 20 28 23 24 20 2e 20 | 32 36 36 32 29 5d 29 29 |6 (#$ . |2662)]))|
|00000b80| 0a 23 40 31 32 30 20 52 | 65 74 75 72 6e 73 20 74 |.#@120 R|eturns t|
|00000b90| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 76 69 73 |he numbe|r of vis|
|00000ba0| 69 62 6c 65 20 77 69 6e | 64 6f 77 73 2e 0a 4f 70 |ible win|dows..Op|
|00000bb0| 74 69 6f 6e 61 6c 20 61 | 72 67 20 4d 49 4e 49 42 |tional a|rg MINIB|
|00000bc0| 55 46 20 6e 6f 6e 2d 6e | 69 6c 20 6d 65 61 6e 73 |UF non-n|il means|
|00000bd0| 20 63 6f 75 6e 74 20 74 | 68 65 20 6d 69 6e 69 62 | count t|he minib|
|00000be0| 75 66 66 65 72 0a 65 76 | 65 6e 20 69 66 20 69 74 |uffer.ev|en if it|
|00000bf0| 20 69 73 20 69 6e 61 63 | 74 69 76 65 2e 1f 0a 28 | is inac|tive...(|
|00000c00| 64 65 66 61 6c 69 61 73 | 20 27 63 6f 75 6e 74 2d |defalias| 'count-|
|00000c10| 77 69 6e 64 6f 77 73 20 | 23 5b 28 26 6f 70 74 69 |windows |#[(&opti|
|00000c20| 6f 6e 61 6c 20 6d 69 6e | 69 62 75 66 29 20 22 c0 |onal min|ibuf) ".|
|00000c30| 19 c2 c3 5c 66 5c 22 88 | 09 29 87 22 20 5b 30 20 |...\f\".|.)." [0 |
|00000c40| 63 6f 75 6e 74 20 77 61 | 6c 6b 2d 77 69 6e 64 6f |count wa|lk-windo|
|00000c50| 77 73 20 23 5b 28 77 29 | 20 22 08 c1 5c 5c 89 10 |ws #[(w)| "..\\..|
|00000c60| 87 22 20 5b 63 6f 75 6e | 74 20 31 5d 20 32 5d 20 |." [coun|t 1] 2] |
|00000c70| 6d 69 6e 69 62 75 66 5d | 20 33 20 28 23 24 20 2e |minibuf]| 3 (#$ .|
|00000c80| 20 32 39 35 31 29 5d 29 | 0a 23 40 36 30 20 4d 61 | 2951)])|.#@60 Ma|
|00000c90| 6b 65 73 20 61 6c 6c 20 | 76 69 73 69 62 6c 65 20 |kes all |visible |
|00000ca0| 77 69 6e 64 6f 77 73 20 | 74 68 65 20 73 61 6d 65 |windows |the same|
|00000cb0| 20 68 65 69 67 68 74 20 | 28 61 70 70 72 6f 78 69 | height |(approxi|
|00000cc0| 6d 61 74 65 6c 79 29 2e | 1f 0a 28 64 65 66 61 6c |mately).|..(defal|
|00000cd0| 69 61 73 20 27 62 61 6c | 61 6e 63 65 2d 77 69 6e |ias 'bal|ance-win|
|00000ce0| 64 6f 77 73 20 23 5b 6e | 69 6c 20 22 c0 c1 89 89 |dows #[n|il "....|
|00000cf0| c2 c3 c4 20 21 21 41 40 | 1d 1e 06 1e 07 1e 08 1e |... !!A@|........|
|00000d00| 09 ca 8b 88 cb 20 0d 5a | 0e 09 a5 16 06 cc cd ce |..... .Z|........|
|00000d10| 5c 22 88 cc cf ce 5c 22 | 2d 87 22 20 5b 2d 31 20 |\"....\"|-." [-1 |
|00000d20| 6e 69 6c 20 77 69 6e 64 | 6f 77 2d 65 64 67 65 73 |nil wind|ow-edges|
|00000d30| 20 66 72 61 6d 65 2d 66 | 69 72 73 74 2d 77 69 6e | frame-f|irst-win|
|00000d40| 64 6f 77 20 73 65 6c 65 | 63 74 65 64 2d 66 72 61 |dow sele|cted-fra|
|00000d50| 6d 65 20 6d 62 6c 20 73 | 69 7a 65 20 6e 65 77 73 |me mbl s|ize news|
|00000d60| 69 7a 65 73 20 6c 65 76 | 65 6c 73 20 63 6f 75 6e |izes lev|els coun|
|00000d70| 74 20 28 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |t ((byte|-code ".|
|00000d80| c1 1a 1b c4 c5 c6 5c 22 | 88 c7 0b c8 5c 22 89 13 |......\"|....\"..|
|00000d90| 83 33 00 0b 40 5c 6e 54 | 56 83 5c 22 00 0b 40 12 |.3..@\nT|V.\"..@.|
|00000da0| 0e 09 54 16 09 0b 40 0e | 09 42 0e 5c 6e 42 16 5c |..T...@.|.B.\nB.\|
|00000db0| 6e 0b 41 89 13 84 12 00 | 0e 09 54 16 09 2a c0 87 |n.A.....|..T..*..|
|00000dc0| 22 20 5b 6e 69 6c 20 2d | 32 20 70 72 65 76 2d 74 |" [nil -|2 prev-t|
|00000dd0| 6f 70 20 74 6f 70 73 20 | 77 61 6c 6b 2d 77 69 6e |op tops |walk-win|
|00000de0| 64 6f 77 73 20 23 5b 28 | 77 29 20 22 c0 09 21 41 |dows #[(|w) "..!A|
|00000df0| 40 5c 6e 42 89 12 87 22 | 20 5b 77 69 6e 64 6f 77 |@\nB..."| [window|
|00000e00| 2d 65 64 67 65 73 20 77 | 20 74 6f 70 73 5d 20 32 |-edges w| tops] 2|
|00000e10| 5d 20 6e 6f 6d 69 6e 69 | 20 73 6f 72 74 20 3c 20 |] nomini| sort < |
|00000e20| 63 6f 75 6e 74 20 6c 65 | 76 65 6c 73 5d 20 34 29 |count le|vels] 4)|
|00000e30| 29 20 66 72 61 6d 65 2d | 68 65 69 67 68 74 20 77 |) frame-|height w|
|00000e40| 61 6c 6b 2d 77 69 6e 64 | 6f 77 73 20 23 5b 28 77 |alk-wind|ows #[(w|
|00000e50| 29 20 22 c0 09 21 88 c2 | 20 41 40 0b 9e 41 c4 20 |) "..!..| A@..A. |
|00000e60| c2 20 41 40 5c 5c 0b 9e | 41 86 19 00 0d 1e 06 1e |. A@\\..|A.......|
|00000e70| 07 09 0e 08 0e 06 0e 07 | 5a 5f 42 0e 09 42 89 16 |........|Z_B..B..|
|00000e80| 09 2a 87 22 20 5b 73 65 | 6c 65 63 74 2d 77 69 6e |.*." [se|lect-win|
|00000e90| 64 6f 77 20 77 20 77 69 | 6e 64 6f 77 2d 65 64 67 |dow w wi|ndow-edg|
|00000ea0| 65 73 20 6c 65 76 65 6c | 73 20 77 69 6e 64 6f 77 |es level|s window|
|00000eb0| 2d 68 65 69 67 68 74 20 | 63 6f 75 6e 74 20 6e 65 |-height |count ne|
|00000ec0| 77 62 6f 74 20 6e 65 77 | 74 6f 70 20 73 69 7a 65 |wbot new|top size|
|00000ed0| 20 6e 65 77 73 69 7a 65 | 73 5d 20 34 5d 20 6e 6f | newsize|s] 4] no|
|00000ee0| 6d 69 6e 69 20 23 5b 28 | 77 29 20 22 c0 09 21 88 |mini #[(|w) "..!.|
|00000ef0| 09 5c 6e 9e 41 1b c4 0b | c5 20 5a 21 29 87 22 20 |.\n.A...|. Z!)." |
|00000f00| 5b 73 65 6c 65 63 74 2d | 77 69 6e 64 6f 77 20 77 |[select-|window w|
|00000f10| 20 6e 65 77 73 69 7a 65 | 73 20 6e 65 77 73 69 7a | newsize|s newsiz|
|00000f20| 65 20 65 6e 6c 61 72 67 | 65 2d 77 69 6e 64 6f 77 |e enlarg|e-window|
|00000f30| 20 77 69 6e 64 6f 77 2d | 68 65 69 67 68 74 5d 20 | window-|height] |
|00000f40| 33 5d 5d 20 37 20 28 23 | 24 20 2e 20 33 32 31 34 |3]] 7 (#|$ . 3214|
|00000f50| 29 20 6e 69 6c 5d 29 0a | 23 40 32 35 33 20 2a 49 |) nil]).|#@253 *I|
|00000f60| 66 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 73 70 6c 69 74 |f non-ni|l, split|
|00000f70| 20 77 69 6e 64 6f 77 73 | 20 6b 65 65 70 73 20 74 | windows| keeps t|
|00000f80| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 70 6f 69 6e |he origi|nal poin|
|00000f90| 74 20 69 6e 20 62 6f 74 | 68 20 63 68 69 6c 64 72 |t in bot|h childr|
|00000fa0| 65 6e 2e 0a 54 68 69 73 | 20 69 73 20 6f 66 74 65 |en..This| is ofte|
|00000fb0| 6e 20 6d 6f 72 65 20 63 | 6f 6e 76 65 6e 69 65 6e |n more c|onvenien|
|00000fc0| 74 20 66 6f 72 20 65 64 | 69 74 69 6e 67 2e 0a 49 |t for ed|iting..I|
|00000fd0| 66 20 6e 69 6c 2c 20 61 | 64 6a 75 73 74 20 70 6f |f nil, a|djust po|
|00000fe0| 69 6e 74 20 69 6e 20 65 | 61 63 68 20 6f 66 20 74 |int in e|ach of t|
|00000ff0| 68 65 20 74 77 6f 20 77 | 69 6e 64 6f 77 73 20 74 |he two w|indows t|
|00001000| 6f 20 6d 69 6e 69 6d 69 | 7a 65 20 72 65 64 69 73 |o minimi|ze redis|
|00001010| 70 6c 61 79 2e 0a 54 68 | 69 73 20 69 73 20 63 6f |play..Th|is is co|
|00001020| 6e 76 65 6e 69 65 6e 74 | 20 6f 6e 20 73 6c 6f 77 |nvenient| on slow|
|00001030| 20 74 65 72 6d 69 6e 61 | 6c 73 2c 20 62 75 74 20 | termina|ls, but |
|00001040| 70 6f 69 6e 74 20 63 61 | 6e 20 6d 6f 76 65 20 73 |point ca|n move s|
|00001050| 74 72 61 6e 67 65 6c 79 | 2e 1f 0a 28 64 65 66 76 |trangely|...(defv|
|00001060| 61 72 20 73 70 6c 69 74 | 2d 77 69 6e 64 6f 77 2d |ar split|-window-|
|00001070| 6b 65 65 70 2d 70 6f 69 | 6e 74 20 74 20 28 23 24 |keep-poi|nt t (#$|
|00001080| 20 2e 20 2d 33 39 33 34 | 29 29 0a 23 40 37 34 36 | . -3934|)).#@746|
|00001090| 20 53 70 6c 69 74 20 63 | 75 72 72 65 6e 74 20 77 | Split c|urrent w|
|000010a0| 69 6e 64 6f 77 20 69 6e | 74 6f 20 74 77 6f 20 77 |indow in|to two w|
|000010b0| 69 6e 64 6f 77 73 2c 20 | 6f 6e 65 20 61 62 6f 76 |indows, |one abov|
|000010c0| 65 20 74 68 65 20 6f 74 | 68 65 72 2e 0a 54 68 65 |e the ot|her..The|
|000010d0| 20 75 70 70 65 72 6d 6f | 73 74 20 77 69 6e 64 6f | uppermo|st windo|
|000010e0| 77 20 67 65 74 73 20 41 | 52 47 20 6c 69 6e 65 73 |w gets A|RG lines|
|000010f0| 20 61 6e 64 20 74 68 65 | 20 6f 74 68 65 72 20 67 | and the| other g|
|00001100| 65 74 73 20 74 68 65 20 | 72 65 73 74 2e 0a 4e 65 |ets the |rest..Ne|
|00001110| 67 61 74 69 76 65 20 61 | 72 67 20 6d 65 61 6e 73 |gative a|rg means|
|00001120| 20 73 65 6c 65 63 74 20 | 74 68 65 20 73 69 7a 65 | select |the size|
|00001130| 20 6f 66 20 74 68 65 20 | 6c 6f 77 65 72 6d 6f 73 | of the |lowermos|
|00001140| 74 20 77 69 6e 64 6f 77 | 20 69 6e 73 74 65 61 64 |t window| instead|
|00001150| 2e 0a 57 69 74 68 20 6e | 6f 20 61 72 67 75 6d 65 |..With n|o argume|
|00001160| 6e 74 2c 20 73 70 6c 69 | 74 20 65 71 75 61 6c 6c |nt, spli|t equall|
|00001170| 79 20 6f 72 20 63 6c 6f | 73 65 20 74 6f 20 69 74 |y or clo|se to it|
|00001180| 2e 0a 42 6f 74 68 20 77 | 69 6e 64 6f 77 73 20 64 |..Both w|indows d|
|00001190| 69 73 70 6c 61 79 20 74 | 68 65 20 73 61 6d 65 20 |isplay t|he same |
|000011a0| 62 75 66 66 65 72 20 6e | 6f 77 20 63 75 72 72 65 |buffer n|ow curre|
|000011b0| 6e 74 2e 0a 0a 49 66 20 | 74 68 65 20 76 61 72 69 |nt...If |the vari|
|000011c0| 61 62 6c 65 20 73 70 6c | 69 74 2d 77 69 6e 64 6f |able spl|it-windo|
|000011d0| 77 2d 6b 65 65 70 2d 70 | 6f 69 6e 74 20 69 73 20 |w-keep-p|oint is |
|000011e0| 6e 6f 6e 2d 6e 69 6c 2c | 20 62 6f 74 68 20 6e 65 |non-nil,| both ne|
|000011f0| 77 20 77 69 6e 64 6f 77 | 73 0a 77 69 6c 6c 20 67 |w window|s.will g|
|00001200| 65 74 20 74 68 65 20 73 | 61 6d 65 20 76 61 6c 75 |et the s|ame valu|
|00001210| 65 20 6f 66 20 70 6f 69 | 6e 74 20 61 73 20 74 68 |e of poi|nt as th|
|00001220| 65 20 63 75 72 72 65 6e | 74 20 77 69 6e 64 6f 77 |e curren|t window|
|00001230| 2e 20 20 54 68 69 73 20 | 69 73 20 6f 66 74 65 6e |. This |is often|
|00001240| 0a 6d 6f 72 65 20 63 6f | 6e 76 65 6e 69 65 6e 74 |.more co|nvenient|
|00001250| 20 66 6f 72 20 65 64 69 | 74 69 6e 67 2e 0a 0a 4f | for edi|ting...O|
|00001260| 74 68 65 72 77 69 73 65 | 2c 20 77 65 20 63 68 6f |therwise|, we cho|
|00001270| 73 65 20 77 69 6e 64 6f | 77 20 73 74 61 72 74 73 |se windo|w starts|
|00001280| 20 73 6f 20 61 73 20 74 | 6f 20 6d 69 6e 69 6d 69 | so as t|o minimi|
|00001290| 7a 65 20 74 68 65 20 61 | 6d 6f 75 6e 74 20 6f 66 |ze the a|mount of|
|000012a0| 0a 72 65 64 69 73 70 6c | 61 79 3b 20 74 68 69 73 |.redispl|ay; this|
|000012b0| 20 69 73 20 63 6f 6e 76 | 65 6e 69 65 6e 74 20 6f | is conv|enient o|
|000012c0| 6e 20 73 6c 6f 77 20 74 | 65 72 6d 69 6e 61 6c 73 |n slow t|erminals|
|000012d0| 2e 20 20 54 68 65 20 6e | 65 77 20 73 65 6c 65 63 |. The n|ew selec|
|000012e0| 74 65 64 0a 77 69 6e 64 | 6f 77 20 69 73 20 74 68 |ted.wind|ow is th|
|000012f0| 65 20 6f 6e 65 20 74 68 | 61 74 20 74 68 65 20 63 |e one th|at the c|
|00001300| 75 72 72 65 6e 74 20 76 | 61 6c 75 65 20 6f 66 20 |urrent v|alue of |
|00001310| 70 6f 69 6e 74 20 61 70 | 70 65 61 72 73 20 69 6e |point ap|pears in|
|00001320| 2e 20 20 54 68 65 0a 76 | 61 6c 75 65 20 6f 66 20 |. The.v|alue of |
|00001330| 70 6f 69 6e 74 20 63 61 | 6e 20 63 68 61 6e 67 65 |point ca|n change|
|00001340| 20 69 66 20 74 68 65 20 | 74 65 78 74 20 61 72 6f | if the |text aro|
|00001350| 75 6e 64 20 70 6f 69 6e | 74 20 69 73 20 68 69 64 |und poin|t is hid|
|00001360| 64 65 6e 20 62 79 20 74 | 68 65 0a 6e 65 77 20 6d |den by t|he.new m|
|00001370| 6f 64 65 20 6c 69 6e 65 | 2e 1f 0a 28 64 65 66 61 |ode line|...(defa|
|00001380| 6c 69 61 73 20 27 73 70 | 6c 69 74 2d 77 69 6e 64 |lias 'sp|lit-wind|
|00001390| 6f 77 2d 76 65 72 74 69 | 63 61 6c 6c 79 20 23 5b |ow-verti|cally #[|
|000013a0| 28 26 6f 70 74 69 6f 6e | 61 6c 20 61 72 67 29 20 |(&option|al arg) |
|000013b0| 22 c0 20 60 09 85 5c 6e | 00 c2 09 21 c3 89 89 89 |". `..\n|...!....|
|000013c0| 89 1c 1d 1e 06 1e 07 1e | 08 1e 09 1e 5c 6e 1e 0b |........|....\n..|
|000013d0| 0e 09 83 30 00 0e 09 cc | 57 83 30 00 cd 20 0e 09 |...0....|W.0.. ..|
|000013e0| 5c 5c 16 09 ce c3 0e 09 | 5c 22 16 07 0e 0f 84 a0 |\\......|\"......|
|000013f0| 00 8a d0 20 71 88 d1 20 | 62 88 d2 cd 20 21 14 d3 |... q.. |b... !..|
|00001400| 0e 07 60 5c 22 88 60 d4 | 0e 07 21 56 83 5f 00 d5 |..`\".`.|..!V._..|
|00001410| 0e 07 60 5c 22 88 5c 66 | cd 20 55 83 6d 00 d6 16 |..`\".\f|. U.m...|
|00001420| 08 d2 d7 21 88 60 16 06 | 29 0e 08 83 85 00 0e 06 |...!.`..|).......|
|00001430| 60 58 83 85 00 d5 0e 0b | 0e 06 53 5c 22 88 0e 08 |`X......|..S\"...|
|00001440| 83 a0 00 d1 0e 07 21 0e | 5c 6e 58 83 a0 00 d5 0e |......!.|\nX.....|
|00001450| 07 0e 5c 6e 5c 22 88 d8 | 0e 07 21 88 0e 07 2e 08 |..\n\"..|..!.....|
|00001460| 87 22 20 5b 73 65 6c 65 | 63 74 65 64 2d 77 69 6e |." [sele|cted-win|
|00001470| 64 6f 77 20 61 72 67 20 | 70 72 65 66 69 78 2d 6e |dow arg |prefix-n|
|00001480| 75 6d 65 72 69 63 2d 76 | 61 6c 75 65 20 6e 69 6c |umeric-v|alue nil|
|00001490| 20 6d 6f 76 65 64 20 73 | 77 69 74 63 68 20 62 6f | moved s|witch bo|
|000014a0| 74 74 6f 6d 20 6e 65 77 | 2d 77 20 77 69 6e 64 6f |ttom new|-w windo|
|000014b0| 77 2d 66 75 6c 6c 2d 70 | 20 73 69 7a 65 20 6f 6c |w-full-p| size ol|
|000014c0| 64 2d 70 6f 69 6e 74 20 | 6f 6c 64 2d 77 20 30 20 |d-point |old-w 0 |
|000014d0| 77 69 6e 64 6f 77 2d 68 | 65 69 67 68 74 20 73 70 |window-h|eight sp|
|000014e0| 6c 69 74 2d 77 69 6e 64 | 6f 77 20 73 70 6c 69 74 |lit-wind|ow split|
|000014f0| 2d 77 69 6e 64 6f 77 2d | 6b 65 65 70 2d 70 6f 69 |-window-|keep-poi|
|00001500| 6e 74 20 77 69 6e 64 6f | 77 2d 62 75 66 66 65 72 |nt windo|w-buffer|
|00001510| 20 77 69 6e 64 6f 77 2d | 73 74 61 72 74 20 76 65 | window-|start ve|
|00001520| 72 74 69 63 61 6c 2d 6d | 6f 74 69 6f 6e 20 73 65 |rtical-m|otion se|
|00001530| 74 2d 77 69 6e 64 6f 77 | 2d 73 74 61 72 74 20 77 |t-window|-start w|
|00001540| 69 6e 64 6f 77 2d 70 6f | 69 6e 74 20 73 65 74 2d |indow-po|int set-|
|00001550| 77 69 6e 64 6f 77 2d 70 | 6f 69 6e 74 20 74 20 2d |window-p|oint t -|
|00001560| 31 20 73 65 6c 65 63 74 | 2d 77 69 6e 64 6f 77 5d |1 select|-window]|
|00001570| 20 38 20 28 23 24 20 2e | 20 34 32 34 31 29 20 22 | 8 (#$ .| 4241) "|
|00001580| 50 22 5d 29 0a 23 40 32 | 31 36 20 53 70 6c 69 74 |P"]).#@2|16 Split|
|00001590| 20 63 75 72 72 65 6e 74 | 20 77 69 6e 64 6f 77 20 | current| window |
|000015a0| 69 6e 74 6f 20 74 77 6f | 20 77 69 6e 64 6f 77 73 |into two| windows|
|000015b0| 20 73 69 64 65 20 62 79 | 20 73 69 64 65 2e 0a 54 | side by| side..T|
|000015c0| 68 69 73 20 77 69 6e 64 | 6f 77 20 62 65 63 6f 6d |his wind|ow becom|
|000015d0| 65 73 20 74 68 65 20 6c | 65 66 74 6d 6f 73 74 20 |es the l|eftmost |
|000015e0| 6f 66 20 74 68 65 20 74 | 77 6f 2c 20 61 6e 64 20 |of the t|wo, and |
|000015f0| 67 65 74 73 20 41 52 47 | 20 63 6f 6c 75 6d 6e 73 |gets ARG| columns|
|00001600| 2e 0a 4e 65 67 61 74 69 | 76 65 20 61 72 67 20 6d |..Negati|ve arg m|
|00001610| 65 61 6e 73 20 73 65 6c | 65 63 74 20 74 68 65 20 |eans sel|ect the |
|00001620| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 72 69 67 68 |size of |the righ|
|00001630| 74 6d 6f 73 74 20 77 69 | 6e 64 6f 77 20 69 6e 73 |tmost wi|ndow ins|
|00001640| 74 65 61 64 2e 0a 4e 6f | 20 61 72 67 20 6d 65 61 |tead..No| arg mea|
|00001650| 6e 73 20 73 70 6c 69 74 | 20 65 71 75 61 6c 6c 79 |ns split| equally|
|00001660| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 73 70 |...(defa|lias 'sp|
|00001670| 6c 69 74 2d 77 69 6e 64 | 6f 77 2d 68 6f 72 69 7a |lit-wind|ow-horiz|
|00001680| 6f 6e 74 61 6c 6c 79 20 | 23 5b 28 26 6f 70 74 69 |ontally |#[(&opti|
|00001690| 6f 6e 61 6c 20 61 72 67 | 29 20 22 08 85 07 00 c1 |onal arg|) ".....|
|000016a0| 08 21 89 1a 83 17 00 5c | 6e c3 57 83 17 00 c4 20 |.!.....\|n.W.... |
|000016b0| 5c 6e 5c 5c 12 c5 c6 5c | 6e c7 23 29 87 22 20 5b |\n\\...\|n.#)." [|
|000016c0| 61 72 67 20 70 72 65 66 | 69 78 2d 6e 75 6d 65 72 |arg pref|ix-numer|
|000016d0| 69 63 2d 76 61 6c 75 65 | 20 73 69 7a 65 20 30 20 |ic-value| size 0 |
|000016e0| 77 69 6e 64 6f 77 2d 77 | 69 64 74 68 20 73 70 6c |window-w|idth spl|
|000016f0| 69 74 2d 77 69 6e 64 6f | 77 20 6e 69 6c 20 74 5d |it-windo|w nil t]|
|00001700| 20 35 20 28 23 24 20 2e | 20 35 35 31 35 29 20 22 | 5 (#$ .| 5515) "|
|00001710| 50 22 5d 29 0a 23 40 34 | 30 20 4d 61 6b 65 20 63 |P"]).#@4|0 Make c|
|00001720| 75 72 72 65 6e 74 20 77 | 69 6e 64 6f 77 20 41 52 |urrent w|indow AR|
|00001730| 47 20 63 6f 6c 75 6d 6e | 73 20 77 69 64 65 72 2e |G column|s wider.|
|00001740| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 6e 6c |..(defal|ias 'enl|
|00001750| 61 72 67 65 2d 77 69 6e | 64 6f 77 2d 68 6f 72 69 |arge-win|dow-hori|
|00001760| 7a 6f 6e 74 61 6c 6c 79 | 20 23 5b 28 61 72 67 29 |zontally| #[(arg)|
|00001770| 20 22 c0 09 c2 5c 22 87 | 22 20 5b 65 6e 6c 61 72 | "...\".|" [enlar|
|00001780| 67 65 2d 77 69 6e 64 6f | 77 20 61 72 67 20 74 5d |ge-windo|w arg t]|
|00001790| 20 33 20 28 23 24 20 2e | 20 35 39 31 34 29 20 22 | 3 (#$ .| 5914) "|
|000017a0| 70 22 5d 29 0a 23 40 34 | 33 20 4d 61 6b 65 20 63 |p"]).#@4|3 Make c|
|000017b0| 75 72 72 65 6e 74 20 77 | 69 6e 64 6f 77 20 41 52 |urrent w|indow AR|
|000017c0| 47 20 63 6f 6c 75 6d 6e | 73 20 6e 61 72 72 6f 77 |G column|s narrow|
|000017d0| 65 72 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |er...(de|falias '|
|000017e0| 73 68 72 69 6e 6b 2d 77 | 69 6e 64 6f 77 2d 68 6f |shrink-w|indow-ho|
|000017f0| 72 69 7a 6f 6e 74 61 6c | 6c 79 20 23 5b 28 61 72 |rizontal|ly #[(ar|
|00001800| 67 29 20 22 c0 09 c2 5c | 22 87 22 20 5b 73 68 72 |g) "...\|"." [shr|
|00001810| 69 6e 6b 2d 77 69 6e 64 | 6f 77 20 61 72 67 20 74 |ink-wind|ow arg t|
|00001820| 5d 20 33 20 28 23 24 20 | 2e 20 36 30 35 38 29 20 |] 3 (#$ |. 6058) |
|00001830| 22 70 22 5d 29 0a 23 40 | 33 36 37 20 53 68 72 69 |"p"]).#@|367 Shri|
|00001840| 6e 6b 20 74 68 65 20 57 | 49 4e 44 4f 57 20 74 6f |nk the W|INDOW to|
|00001850| 20 62 65 20 61 73 20 73 | 6d 61 6c 6c 20 61 73 20 | be as s|mall as |
|00001860| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 64 69 73 70 |possible| to disp|
|00001870| 6c 61 79 20 69 74 73 20 | 63 6f 6e 74 65 6e 74 73 |lay its |contents|
|00001880| 2e 0a 44 6f 20 6e 6f 74 | 20 73 68 72 69 6e 6b 20 |..Do not| shrink |
|00001890| 74 6f 20 6c 65 73 73 20 | 74 68 61 6e 20 60 77 69 |to less |than `wi|
|000018a0| 6e 64 6f 77 2d 6d 69 6e | 2d 68 65 69 67 68 74 27 |ndow-min|-height'|
|000018b0| 20 6c 69 6e 65 73 2e 0a | 44 6f 20 6e 6f 74 68 69 | lines..|Do nothi|
|000018c0| 6e 67 20 69 66 20 74 68 | 65 20 62 75 66 66 65 72 |ng if th|e buffer|
|000018d0| 20 63 6f 6e 74 61 69 6e | 73 20 6d 6f 72 65 20 6c | contain|s more l|
|000018e0| 69 6e 65 73 20 74 68 61 | 6e 20 74 68 65 20 70 72 |ines tha|n the pr|
|000018f0| 65 73 65 6e 74 20 77 69 | 6e 64 6f 77 20 68 65 69 |esent wi|ndow hei|
|00001900| 67 68 74 2c 0a 6f 72 20 | 69 66 20 73 6f 6d 65 20 |ght,.or |if some |
|00001910| 6f 66 20 74 68 65 20 77 | 69 6e 64 6f 77 27 73 20 |of the w|indow's |
|00001920| 63 6f 6e 74 65 6e 74 73 | 20 61 72 65 20 73 63 72 |contents| are scr|
|00001930| 6f 6c 6c 65 64 20 6f 75 | 74 20 6f 66 20 76 69 65 |olled ou|t of vie|
|00001940| 77 2c 0a 6f 72 20 69 66 | 20 74 68 65 20 77 69 6e |w,.or if| the win|
|00001950| 64 6f 77 20 69 73 20 6e | 6f 74 20 74 68 65 20 66 |dow is n|ot the f|
|00001960| 75 6c 6c 20 77 69 64 74 | 68 20 6f 66 20 74 68 65 |ull widt|h of the|
|00001970| 20 66 72 61 6d 65 2c 0a | 6f 72 20 69 66 20 74 68 | frame,.|or if th|
|00001980| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 74 68 65 20 |e window| is the |
|00001990| 6f 6e 6c 79 20 77 69 6e | 64 6f 77 20 6f 66 20 69 |only win|dow of i|
|000019a0| 74 73 20 66 72 61 6d 65 | 2e 1f 0a 28 64 65 66 61 |ts frame|...(defa|
|000019b0| 6c 69 61 73 20 27 73 68 | 72 69 6e 6b 2d 77 69 6e |lias 'sh|rink-win|
|000019c0| 64 6f 77 2d 69 66 2d 6c | 61 72 67 65 72 2d 74 68 |dow-if-l|arger-th|
|000019d0| 61 6e 2d 62 75 66 66 65 | 72 20 23 5b 28 26 6f 70 |an-buffe|r #[(&op|
|000019e0| 74 69 6f 6e 61 6c 20 77 | 69 6e 64 6f 77 29 20 22 |tional w|indow) "|
|000019f0| 08 84 07 00 c1 20 10 8a | c2 08 21 71 88 c1 20 1b |..... ..|..!q.. .|
|00001a00| 5c 66 1c 60 1d c6 1e 07 | 6d 3f 85 21 00 64 53 66 |\f.`....|m?.!.dSf|
|00001a10| c8 3d 1e 09 ca 1e 0b cc | 20 1e 0d 70 1e 0e cf d0 |.=......| ..p....|
|00001a20| 08 21 21 1e 11 d2 0e 11 | 9e 41 1e 13 d4 c1 20 21 |.!!.....|.A.... !|
|00001a30| 1e 15 d6 d7 20 1e 18 d9 | d0 08 21 21 88 da 8e db |.... ...|..!!....|
|00001a40| 20 2a 57 85 ce 00 dc 08 | 21 dd d0 08 21 21 55 85 | *W.....|!...!!U.|
|00001a50| ce 00 de 65 08 5c 22 85 | ce 00 0e 13 df 3d 3f 85 |...e.\".|.....=?.|
|00001a60| ce 00 0e 13 83 90 00 e0 | 0e 15 38 d4 0e 13 21 41 |........|..8...!A|
|00001a70| 40 57 84 90 00 0e 15 41 | 40 e1 0e 11 9e 41 56 85 |@W.....A|@....AV.|
|00001a80| ce 00 e2 8e e3 08 86 98 | 00 0b 21 88 65 62 88 de |........|..!.eb..|
|00001a90| 64 0e 09 83 a8 00 d6 82 | a9 00 c6 5a 21 83 bb 00 |d.......|...Z!...|
|00001aa0| ca 14 c8 63 88 0e 07 54 | 16 07 82 9d 00 0e 07 c6 |...c...T|........|
|00001ab0| 56 85 cd 00 e4 0e 07 53 | e5 20 0e 26 5a 5e 21 29 |V......S|. .&Z^!)|
|00001ac0| 2e 5c 66 87 22 20 5b 77 | 69 6e 64 6f 77 20 73 65 |.\f." [w|indow se|
|00001ad0| 6c 65 63 74 65 64 2d 77 | 69 6e 64 6f 77 20 77 69 |lected-w|indow wi|
|00001ae0| 6e 64 6f 77 2d 62 75 66 | 66 65 72 20 77 20 62 75 |ndow-buf|fer w bu|
|00001af0| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 70 |ffer-fil|e-name p|
|00001b00| 20 30 20 6e 20 31 30 20 | 69 67 6e 6f 72 65 2d 66 | 0 n 10 |ignore-f|
|00001b10| 69 6e 61 6c 2d 6e 65 77 | 6c 69 6e 65 20 6e 69 6c |inal-new|line nil|
|00001b20| 20 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c | buffer-|read-onl|
|00001b30| 79 20 62 75 66 66 65 72 | 2d 6d 6f 64 69 66 69 65 |y buffer|-modifie|
|00001b40| 64 2d 70 20 6d 6f 64 69 | 66 69 65 64 20 62 75 66 |d-p modi|fied buf|
|00001b50| 66 65 72 20 66 72 61 6d | 65 2d 70 61 72 61 6d 65 |fer fram|e-parame|
|00001b60| 74 65 72 73 20 77 69 6e | 64 6f 77 2d 66 72 61 6d |ters win|dow-fram|
|00001b70| 65 20 70 61 72 61 6d 73 | 20 6d 69 6e 69 62 75 66 |e params| minibuf|
|00001b80| 66 65 72 20 6d 69 6e 69 | 20 77 69 6e 64 6f 77 2d |fer mini| window-|
|00001b90| 65 64 67 65 73 20 65 64 | 67 65 73 20 31 20 73 65 |edges ed|ges 1 se|
|00001ba0| 6c 65 63 74 65 64 2d 66 | 72 61 6d 65 20 66 72 61 |lected-f|rame fra|
|00001bb0| 6d 65 20 73 65 6c 65 63 | 74 2d 66 72 61 6d 65 20 |me selec|t-frame |
|00001bc0| 28 28 73 65 6c 65 63 74 | 2d 66 72 61 6d 65 20 66 |((select|-frame f|
|00001bd0| 72 61 6d 65 29 29 20 63 | 6f 75 6e 74 2d 77 69 6e |rame)) c|ount-win|
|00001be0| 64 6f 77 73 20 77 69 6e | 64 6f 77 2d 77 69 64 74 |dows win|dow-widt|
|00001bf0| 68 20 66 72 61 6d 65 2d | 77 69 64 74 68 20 70 6f |h frame-|width po|
|00001c00| 73 2d 76 69 73 69 62 6c | 65 2d 69 6e 2d 77 69 6e |s-visibl|e-in-win|
|00001c10| 64 6f 77 2d 70 20 6f 6e | 6c 79 20 33 20 6d 65 6e |dow-p on|ly 3 men|
|00001c20| 75 2d 62 61 72 2d 6c 69 | 6e 65 73 20 28 28 62 79 |u-bar-li|nes ((by|
|00001c30| 74 65 2d 63 6f 64 65 20 | 22 65 60 7c 88 c0 09 21 |te-code |"e`|...!|
|00001c40| 88 5c 6e 62 88 c3 5c 66 | 21 88 0d 71 87 22 20 5b |.\nb..\f|!..q." [|
|00001c50| 73 65 74 2d 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |set-buff|er-modif|
|00001c60| 69 65 64 2d 70 20 6d 6f | 64 69 66 69 65 64 20 70 |ied-p mo|dified p|
|00001c70| 20 73 65 6c 65 63 74 2d | 77 69 6e 64 6f 77 20 77 | select-|window w|
|00001c80| 20 62 75 66 66 65 72 5d | 20 32 29 29 20 73 65 6c | buffer]| 2)) sel|
|00001c90| 65 63 74 2d 77 69 6e 64 | 6f 77 20 73 68 72 69 6e |ect-wind|ow shrin|
|00001ca0| 6b 2d 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 2d |k-window| window-|
|00001cb0| 68 65 69 67 68 74 20 77 | 69 6e 64 6f 77 2d 6d 69 |height w|indow-mi|
|00001cc0| 6e 2d 68 65 69 67 68 74 | 5d 20 34 20 28 23 24 20 |n-height|] 4 (#$ |
|00001cd0| 2e 20 36 32 30 34 29 20 | 6e 69 6c 5d 29 0a 28 62 |. 6204) |nil]).(b|
|00001ce0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 c2 c3 23 88 |yte-code| "....#.|
|00001cf0| c0 09 c4 c5 23 88 c0 09 | c6 c7 23 88 c0 09 c8 c9 |....#...|..#.....|
|00001d00| 23 88 c0 09 ca cb 23 88 | c0 09 cc cd 23 87 22 20 |#.....#.|....#." |
|00001d10| 5b 64 65 66 69 6e 65 2d | 6b 65 79 20 63 74 6c 2d |[define-|key ctl-|
|00001d20| 78 2d 6d 61 70 20 22 32 | 22 20 73 70 6c 69 74 2d |x-map "2|" split-|
|00001d30| 77 69 6e 64 6f 77 2d 76 | 65 72 74 69 63 61 6c 6c |window-v|erticall|
|00001d40| 79 20 22 33 22 20 73 70 | 6c 69 74 2d 77 69 6e 64 |y "3" sp|lit-wind|
|00001d50| 6f 77 2d 68 6f 72 69 7a | 6f 6e 74 61 6c 6c 79 20 |ow-horiz|ontally |
|00001d60| 22 7d 22 20 65 6e 6c 61 | 72 67 65 2d 77 69 6e 64 |"}" enla|rge-wind|
|00001d70| 6f 77 2d 68 6f 72 69 7a | 6f 6e 74 61 6c 6c 79 20 |ow-horiz|ontally |
|00001d80| 22 7b 22 20 73 68 72 69 | 6e 6b 2d 77 69 6e 64 6f |"{" shri|nk-windo|
|00001d90| 77 2d 68 6f 72 69 7a 6f | 6e 74 61 6c 6c 79 20 22 |w-horizo|ntally "|
|00001da0| 2d 22 20 73 68 72 69 6e | 6b 2d 77 69 6e 64 6f 77 |-" shrin|k-window|
|00001db0| 2d 69 66 2d 6c 61 72 67 | 65 72 2d 74 68 61 6e 2d |-if-larg|er-than-|
|00001dc0| 62 75 66 66 65 72 20 22 | 2b 22 20 62 61 6c 61 6e |buffer "|+" balan|
|00001dd0| 63 65 2d 77 69 6e 64 6f | 77 73 5d 20 34 29 0a |ce-windo|ws] 4). |
+--------+-------------------------+-------------------------+--------+--------+